<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>添加子分类</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <script type='text/javascript' src='__PUBLIC__/Js/Admin/category.js'>
        </script>
        <link rel='stylesheet' type='text/css' href="__PUBLIC__/Css/Admin/category.css"/>
    </head>
    <body>
        <h2 class='top'>
            <span>添加子分类</span>
            <a href="{:U('index')}">返回分类列表</a>
        </h2>
        <form action="{:U('runAddCate')}" method="post">
            <table class="table1">
                <tr>
                    <td>所属类型：</td>
                    <td>
                        <select name="tid" class='select1'>
                            <option value="">--请选择--</option>
                            <foreach name='type' item='v'>
                                <option value="{$v.id}">{$v.name}</option>
                            </foreach>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td width='35%' align='right'>子分类名称：</td>
                    <td>
                        <input type="text" name='name' class='input2'>
                        <input type="hidden" name='pid' value='{$Think.get.pid}'/>
                    </td>
                </tr>
                <tr>
                    <td colspan='2' align='center'>
                        <input type="submit" value='保存添加' class='bt1' style='float:none;margin: 20px 0' id='sub'>
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>